<?php
namespace Matrix\Controller;

class UserReportController extends CommonController {
	
public function __construct() {
		parent::__construct ();
		parent::__config ( array (
				'model_name'=>'UserReport',
		) );
	}
	
	public function index(){
// 		dump(date('Y-m-d H:i:s',1505738926));
		parent::__config ( array (
				'fuzzy'=>'username',
				'between_time'=>'created',
				'relation' =>true,
				'statistics'=>'consume',//需要统计求和字段
		) );
		$table =I('table');
		if (!$table == null && ! empty ($table)) {
			parent::__config ( array (
					'display' => 'table' ,
					'display_parms'=>array('table'=>1),
			) );
		};
		parent::index ();
	}
	
	function add() {
		parent::add ();
	}
	
	
	function insert() {
	}
	
	function foreverdelete() {
		
	}
	
	function edit() {
	}
	
	function update() {
		
	}
	
	
	function bean() {
		parent::bean();
	}
	
	function sort() {
		parent::sort ();
	}
	
	function excelImport(){
	}
	
	function excelOutput(){
		
	}
	
}